<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
		    <div id="group_fruit_querytb">
		        <form id="group_fruit_queryForm" class="m5">
		            学期：
		            <select class="form-control1" name="termId" id="termId"></select>
		            获奖级别：
		            <select class="form-control1" name="awardLevel" id="awardLevel"></select>
		            获奖等第：
		            <select class="form-control1" name="awardGrade" id="awardGrade"></select>
		            授奖对象：
		            <input class="form-control1" name="name" id="name">
					<input type="hidden" id="schoolId" name="schoolId" value=""/>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('group_fruit_query')">查询</a>
		            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('group_fruit_query')">重置</a><br/>
		        </form>
		    </div>
		    <table id="group_fruit_querydg">
		        <thead>
		            <tr>
		                <th data-options="field:'id',checkbox:true">ID</th>
		                <th data-options="field:'termName',title:'学期名称'"></th>
		                <th data-options="field:'awardDate',title:'获奖时间'"></th>
		                <th data-options="field:'awardTarget',title:'授奖对象'"></th>
		                <th data-options="field:'awardName',title:'荣誉称号',width:200,
		                formatter: function(value, row, index) {
		                    return '<span class=\'note\' title=\''+value+'\'>'+ value + '</span>';
		                }"></th>
		                <th data-options="field:'awardLevel',title:'获奖级别'"></th>
		                <th data-options="field:'awardGrade',title:'获奖等第'"></th>
		                <th data-options="field:'awardCompany',title:'授奖单位'"></th>
		                <th data-options="field:'remark',title:'备注',width:200,
		                formatter: function(value, row, index) {
		                    return '<span class=\'note\' title=\''+value+'\'>'+ value + '</span>';
		                }"></th>
		            </tr>
		        </thead>
		    </table>
		</div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript">
		$(function(){
	        var url = basePath + "/sys/groupFruit/query";
	        initSchoolIdValue();
	        initDatagridAdmin("group_fruit_query",url,0,0,0,0,0);
	        termList("group_fruit_query");
	        getFruitParam("group_fruit_query","awardLevel","获奖级别");
	        getFruitParam("group_fruit_query","awardGrade","获奖等第");
	    })  
    </script>
</body>
</html>